package dao;

import entity.SpecialtyEntity;

import java.util.List;
import java.util.Map;

public interface SpecialtyDao {
    List<Map<String,Object>> getSpecialtyInfo(String name);

    int addSpecialtyInfo(SpecialtyEntity specialty);

    int updateSpecialtyInfo(SpecialtyEntity specialty);

    int deleteSpecialty(String specialtyId);

    int batchDeleteSpecialty(List<String> ids);

    Map<String,Object> getSpecialtyInfoById(String id);

    List<Map<String,Object>> getSpecialtyByAcademyId(String academyId);
    String getMaxClassCodeBySpecialtyId(String specialtyId);
}
